package com.banmoon.state;

/**
 * 满血状态
 */
public class FullHpState extends AbstractState{

    private Person person;

    public FullHpState(Person person) {
        super(100);
        this.person = person;
    }

    @Override
    public void takeMedicine() {
        System.out.println("满血不能吃药");
    }

    @Override
    public void resurrect() {
        System.out.println("还活着，你复活啥?");
    }

    @Override
    public void adventure() {
        Person.adventure(person);
    }


}
